package j10;

/**
 * @author chengshuai
 * @date 2021/5/5 0:00
 */
public class LockSyncDemo {

    private final Object object = new Object();

    public void m1() {
        synchronized (object) {
            System.out.println("-----");
        }
    }
}
